﻿
//********************************************************
//创建时间:2014-08-18 16:21:12
//作者：叶燕鑫
//文件内容:
//********************************************************

using IHISCETeim.Library;
using System;
using System.Configuration;
using System.Data;
namespace IHISCETeim.Model
{	
	[Serializable]
	public class AgentQltyInfo
  	{
		#region 属性
		/// <summary>
		/// 
		/// </summary>
		public int  QltyId
		{
			get;set;			
		}
		/// <summary>
		/// 品情号
		///
		/// </summary>
        [ExcelRowIndex(2), ExcelCellIndex(8)]
		public string  ClaimsNumber
		{
			get;set;			
		}
		/// <summary>
		/// 发行日期
		///
		/// </summary>
        [ExcelRowIndex(3), ExcelCellIndex(8)]
		public DateTime  IssueDate
		{
			get;set;			
		}
		/// <summary>
		/// 机号
		///
		/// </summary>
        [ExcelRowIndex(6), ExcelCellIndex(4)]
		public string  SerialNumber
		{
			get;set;			
		}
		/// <summary>
		/// 机型
		///
		/// </summary>
         [ExcelRowIndex(9), ExcelCellIndex(1)]
		public string  MachineType
		{
			get;set;			
		}
		/// <summary>
		/// 用户
		///
		/// </summary>
        [ExcelRowIndex(7), ExcelCellIndex(1)]
		public string  CustomerName
		{
			get;set;			
		}
		/// <summary>
		/// 用户手机
		///
		/// </summary>
		public string  CustomerMobile
		{
			get;set;			
		}
		/// <summary>
		/// 交机日
		///
		/// </summary>
          [ExcelRowIndex(7), ExcelCellIndex(4)]
		public DateTime  IntoDate
		{
			get;set;			
		}
		/// <summary>
		/// 地点
		///
		/// </summary>
          [ExcelRowIndex(8), ExcelCellIndex(1)]
		public string  IntoAddress
		{
			get;set;			
		}
		/// <summary>
		/// 故障日
		///
		/// </summary>
          [ExcelRowIndex(8), ExcelCellIndex(4)]
		public DateTime  FaultDate
		{
			get;set;			
		}
		/// <summary>
		/// 工作小时
		///
		/// </summary>
          [ExcelRowIndex(9), ExcelCellIndex(4)]
		public decimal  WorkHour
		{
			get;set;			
		}
		/// <summary>
		/// 报告人
		///
		/// </summary>
          [ExcelRowIndex(10), ExcelCellIndex(1)]
		public string  ReportUser
		{
			get;set;			
		}
		/// <summary>
		/// 
		///
		/// </summary>
          [ExcelRowIndex(10), ExcelCellIndex(4)]
		public string  ReportTel
		{
			get;set;			
		}
		/// <summary>
		/// 机器性质
		///
		/// </summary>
          [ExcelRowIndex(6), ExcelCellIndex(6)]
		public string  MacNature
		{
			get;set;			
		}
		/// <summary>
		/// 作业内容
		///
		/// </summary>
         [ExcelRowIndex(6), ExcelCellIndex(7)]
		public string  IntoConditi
		{
			get;set;			
		}
		/// <summary>
		/// 特别附件及规格
		///
		/// </summary>
          [ExcelRowIndex(6), ExcelCellIndex(8)]
		public string  IntoSpecial
		{
			get;set;			
		}
		/// <summary>
		/// 损坏部品序列号或钢号
		///
		/// </summary>
          [ExcelRowIndex(11), ExcelCellIndex(3)]
		public string  DamagePartsNumber
		{
			get;set;			
		}
		/// <summary>
		/// 故障描述
		///
		/// </summary>
          [ExcelRowIndex(13), ExcelCellIndex(0)]
        public string FaultDescription
		{
			get;set;			
		}
		/// <summary>
		/// 主要故障
		///
		/// </summary>
        public int MainFaultID
		{
			get;set;			
		}
		/// <summary>
		/// 故障推定原因
		///
		/// </summary>
          [ExcelRowIndex(23), ExcelCellIndex(0)]
		public string  FaultReason
		{
			get;set;			
		}
		/// <summary>
		/// 结论
		///
		/// </summary>
          [ExcelRowIndex(34), ExcelCellIndex(0)]
		public string  ProcessMode
		{
			get;set;			
		}
		/// <summary>
		/// 报告类型 初报告 续报告（第2次） 对策后再发
		///
		/// </summary>
          [ExcelRowIndex(4), ExcelCellIndex(8)]
		public string  ReportType
		{
			get;set;			
		}
		/// <summary>
		/// IHISCE服务部对策与结果
		///
		/// </summary>
         [ExcelRowIndex(62), ExcelCellIndex(0)]
		public string  SvrResult
		{
			get;set;			
		}
		/// <summary>
         /// 内部通报与对策(IHISCE内部看，经销商不能看）
		///
		/// </summary>
		public string  SvrScheme
		{
			get;set;			
		}
        /// <summary>
        /// 内部抄送部门Key
        /// </summary>
        public string CCPartEmail
        {
            get;
            set;
        }
        /// <summary>
        /// 是否提交服务经理及部长审核
        /// </summary>
        public bool IsNeedAppove
        {
            get;
            set;
        }
        /// <summary>
        /// 是否已审核
        /// </summary>
        public bool IsAppove
        {
            get;
            set;
        }
		/// <summary>
		/// 是否需要电话回访
		///默认值:0
		/// </summary>
		public bool  IsVisit
		{
			get;set;			
		}
		/// <summary>
		/// 配件发送日期
		///
		/// </summary>
		public string  PartsSendDate
		{
			get;set;			
		}
		/// <summary>
		/// 配件发送方式
		///
		/// </summary>
		public string  PartsSendType
		{
			get;set;			
		}
        /// <summary>
        /// 配件接收地址
        /// </summary>
        public string PartsAcceptAddress
        {
            get;
            set;
        }
        /// <summary>
        /// 配件收件人
        /// </summary>
        public string PartsAcceptName
        {
            get;
            set;
        }
        /// <summary>
        /// 配件联系电话
        /// </summary>
        public string PartsAcceptTel
        {
            get;
            set;
        }
        /// <summary>
        /// 配件期望到货时间
        /// </summary>
        public string PartsAcceptDate
        {
            get;
            set;
        }
        /// <summary>
        /// 旧件返还时间
        /// </summary>
        public DateTime PartsInDate
        {
            get;
            set;
        }

		/// <summary>
		/// 创建者(经销商)
		///
		/// </summary>
		public int  UserId
		{
			get;set;			
		}
		/// <summary>
		/// 经销商简称
		///
		/// </summary>
         [ExcelRowIndex(6), ExcelCellIndex(1)]
		public string  AgentName
		{
			get;set;			
		}
		/// <summary>
		/// 对应服务担当
		///
		/// </summary>
		public int  SrvActUserId
		{
			get;set;			
		}
		/// <summary>
		/// 服务担当名字
		///
		/// </summary>
         [ExcelRowIndex(3), ExcelCellIndex(0)]
		public string  SrvActRealName
		{
			get;set;			
		}
		/// <summary>
		/// 服务经理ID
		///
		/// </summary>
		public int  SrvMangerUserId
		{
			get;set;			
		}
		/// <summary>
        /// 品情状态(担当确认中,服务经理审核中, 服务部长审核中, 品情已确认,品情驳回)
		///
		/// </summary>
		public string  ClaimState
		{
			get;set;			
		}
		/// <summary>
		/// 驳回原因
		///
		/// </summary>
        public string RejectReason
        {
            get;
            set;
        }
        /// <summary>
        /// 是否品情驳回
        ///默认值:0
        /// </summary>
        public bool IsCancelReason
        {
            get;
            set;
        }
        /// <summary>
        /// 品情驳回原因
        ///
        /// </summary>
        public string CancelReason
        {
            get;
            set;
        }
        /// <summary>
        /// 代理人
        /// </summary>
        public int AgentSvrUserId
        {
            get;set;
        }
        /// <summary>
        /// 代理人名称
        /// </summary>
        public string  AgentSvrRealName
        {
            get;set;
        }
        /// <summary>
        /// 代理人电话
        /// </summary>
        public string AgentSvrTel
        {
            get;
            set;
        }

		/// <summary>
		/// 服务担当回复日
		///
		/// </summary>
		public DateTime  SrvActReplyDate
		{
			get;set;			
		}
		/// <summary>
		/// 服务经理审核日
		///
		/// </summary>
		public DateTime  SrvMangerReplyDate
		{
			get;set;			
		}
        /// <summary>
        /// 通知配件发货时间/品情确认时间
        ///
        /// </summary>
        public DateTime  NoticeSendPartsDate
		{
			get;set;			
		}
		/// <summary>
		/// 配件需求情况分类
		///
		/// </summary>
		public string  PartsRequestType
		{
			get;set;			
		}
		/// <summary>
		/// 供应商发货时间
		///
		/// </summary>
		public DateTime  SupperSendDate
		{
			get;set;			
		}
		/// <summary>
		/// 配件ERP出库日期
		///
		/// </summary>
		public DateTime  ERPSendDate
		{
			get;set;			
		}
		/// <summary>
		/// 配件邮寄出库日期
		///
		/// </summary>
		public DateTime  RealSendDate
		{
			get;set;			
		}
		/// <summary>
		/// 配件经销商签收日期
		///
		/// </summary>
		public DateTime  AgentAcceptDate
		{
			get;set;			
		}
		/// <summary>
		/// 经销商故障排除日期
		///
		/// </summary>
          [ExcelRowIndex(67), ExcelCellIndex(7)]
		public DateTime  AgentRecoveryDate
		{
			get;set;			
		}
        /// <summary>
        /// 品情处理描述
        /// </summary>
          [ExcelRowIndex(68), ExcelCellIndex(6)]
        public string ImgHY { get; set; }

        /// <summary>
        /// 是否进行MTTR统计
        /// </summary>
        public bool IsMTTR
        {
            get; set;
        }
        /// <summary>
        /// 是否因样机管理不当导致
        /// </summary>
        public bool IsYJGL { get; set; }
        #endregion

        /// <summary>
        /// 指派担当用户ID
        /// </summary>
        public int ZLAssignUserId { get; set; }
        /// <summary>
        /// 指派担当
        /// </summary>
        public string ZLAssignRealName { get; set; }
        /// <summary>
        /// 故障等级(分为A、B、C三级）
        /// </summary>
        public string ZLRank { get; set; }
        /// <summary>
        /// 是否对策后再发
        /// </summary>
        public bool ZLIsAfterSend { get; set; }
        /// <summary>
        /// 指派日期
        /// </summary>
        public DateTime ZLAssignDate { get; set; }
        /// <summary>
        /// 对策报告（扫描后上传）
        /// </summary>
        public string ZLSituationReport { get; set; }
        /// <summary>
        /// 对策日期
        /// </summary>
        public DateTime ZLSituationDate { get; set; }
        /// <summary>
        /// 是否需要旧件进行确认
        /// </summary>
        public bool IsOldConfirm { get; set; }
        /// <summary>
        /// 品情不符合规范
        /// </summary>
        public bool NoNormative { get; set; }
    }
}
